package com.zjj.edu.system.mapper;

import com.zjj.edu.system.domain.SysStudent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 *
 * @author zjj
 * @date 2020-09-05
 */
public interface SysStudentMapper {

    SysStudent selectSysStudentById(@Param("id") Long id, @Param("tenantId") Long tenantId);

    List<SysStudent> selectSysStudentList(SysStudent student);

    int insertSysStudent(SysStudent student);

    int updateSysStudent(SysStudent student);

    SysStudent checkNameUnique(@Param("name") String name, @Param("tenantId") long tenantId);
}
